[INFO] cloning repository https://github.com/Silentdoer/RustTetris
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Silentdoer/RustTetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSilentdoer%2FRustTetris", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSilentdoer%2FRustTetris'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7d5bfb7d87520a705b706bea4c434826e8835b77
[INFO] fixing Silentdoer/RustTetris against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSilentdoer%2FRustTetris" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Silentdoer/RustTetris
[INFO] finished tweaking git repo https://github.com/Silentdoer/RustTetris
[INFO] tweaked toml for git repo https://github.com/Silentdoer/RustTetris written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Silentdoer/RustTetris on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Silentdoer/RustTetris already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 80dd2281851a5e11b9a157df1886d01f6a4e5523ab1fa5c840998405d459d759
[INFO] running `Command { std: "docker" "start" "80dd2281851a5e11b9a157df1886d01f6a4e5523ab1fa5c840998405d459d759", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "80dd2281851a5e11b9a157df1886d01f6a4e5523ab1fa5c840998405d459d759" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "80dd2281851a5e11b9a157df1886d01f6a4e5523ab1fa5c840998405d459d759", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "80dd2281851a5e11b9a157df1886d01f6a4e5523ab1fa5c840998405d459d759" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating tetris/Cargo.toml from 2018 edition to 2021
[INFO] [stderr]    Migrating tetris-common/Cargo.toml from 2018 edition to 2021
[INFO] [stderr]    Compiling libc v0.2.66
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling proc-macro2 v1.0.7
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling syn v1.0.13
[INFO] [stderr]     Checking slab v0.4.2
[INFO] [stderr]    Compiling memchr v2.2.1
[INFO] [stderr]    Compiling proc-macro-nested v0.1.3
[INFO] [stderr]    Compiling getrandom v0.1.13
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]     Checking futures-sink v0.3.1
[INFO] [stderr]     Checking futures-core v0.3.1
[INFO] [stderr]     Checking scopeguard v1.0.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.6
[INFO] [stderr]     Checking futures-task v0.3.1
[INFO] [stderr]     Checking arc-swap v0.4.4
[INFO] [stderr]     Checking smallvec v1.1.0
[INFO] [stderr]     Checking pin-utils v0.1.0-alpha.4
[INFO] [stderr]     Checking futures-io v0.3.1
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]     Checking lock_api v0.3.3
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking futures-channel v0.3.1
[INFO] [stderr]     Checking tetris-common v0.1.0 (/opt/rustwide/workdir/tetris-common)
[INFO] [stderr]     Checking c2-chacha v0.2.3
[INFO] [stderr]    Migrating tetris-common/src/lib.rs from 2018 edition to 2021
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking net2 v0.2.33
[INFO] [stderr]     Checking parking_lot_core v0.7.0
[INFO] [stderr]     Checking signal-hook-registry v1.2.0
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking parking_lot v0.10.0
[INFO] [stderr]     Checking mio v0.6.21
[INFO] [stderr]     Checking rand_chacha v0.2.1
[INFO] [stderr]     Checking rand v0.7.2
[INFO] [stderr]     Checking signal-hook v0.1.12
[INFO] [stderr]     Checking crossterm v0.14.1
[INFO] [stderr]    Compiling proc-macro-hack v0.5.11
[INFO] [stderr]    Compiling futures-macro v0.3.1
[INFO] [stderr]     Checking futures-util v0.3.1
[INFO] [stderr]     Checking futures-executor v0.3.1
[INFO] [stderr]     Checking futures v0.3.1
[INFO] [stderr]     Checking tetris v0.1.0 (/opt/rustwide/workdir/tetris)
[INFO] [stderr]    Migrating tetris/src/main.rs from 2018 edition to 2021
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.00s
[INFO] [stderr] crater-edition-check: tetris v0.1.0 (/opt/rustwide/workdir/tetris) updating edition from 2018 to 2021
[INFO] [stderr] crater-edition-check: tetris-common v0.1.0 (/opt/rustwide/workdir/tetris-common) updating edition from 2018 to 2021
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]     Checking tetris-common v0.1.0 (/opt/rustwide/workdir/tetris-common)
[INFO] [stderr]     Checking tetris v0.1.0 (/opt/rustwide/workdir/tetris)
[INFO] [stdout] warning: unused import: `super::CanvasPiece`
[INFO] [stdout]  --> tetris/src/model/canvas.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use super::CanvasPiece;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Coordinate`
[INFO] [stdout]  --> tetris/src/model/canvas_piece.rs:3:51
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::model::{Canvas, CanvasPixel, ShowSelf, Coordinate};
[INFO] [stdout]   |                                                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::Thread`
[INFO] [stdout]   --> tetris/src/main.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | use std::thread::Thread;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]   --> tetris/src/main.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | use std::thread;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::CanvasPiece`
[INFO] [stdout]  --> tetris/src/model/canvas.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use super::CanvasPiece;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Coordinate`
[INFO] [stdout]  --> tetris/src/model/canvas_piece.rs:3:51
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::model::{Canvas, CanvasPixel, ShowSelf, Coordinate};
[INFO] [stdout]   |                                                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::Thread`
[INFO] [stdout]   --> tetris/src/main.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | use std::thread::Thread;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]   --> tetris/src/main.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | use std::thread;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> tetris/src/main.rs:262:2
[INFO] [stdout]     |
[INFO] [stdout] 262 |     execute!(stdout(), MoveTo(x, y))?;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]     = note: this warning originates in the macro `write_ansi_code` which comes from the expansion of the macro `execute` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> tetris/src/main.rs:271:10
[INFO] [stdout]     |
[INFO] [stdout] 271 |     let _ = execute!(stdout(), Clear(ClearType::All));
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `write_ansi_code` which comes from the expansion of the macro `execute` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> tetris/src/main.rs:285:2
[INFO] [stdout]     |
[INFO] [stdout] 285 |     execute!(stdout, EnableMouseCapture)?;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `write_ansi_code` which comes from the expansion of the macro `execute` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> tetris/src/main.rs:291:2
[INFO] [stdout]     |
[INFO] [stdout] 291 |     execute!(stdout, DisableMouseCapture)?;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `write_ansi_code` which comes from the expansion of the macro `execute` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> tetris/src/main.rs:262:2
[INFO] [stdout]     |
[INFO] [stdout] 262 |     execute!(stdout(), MoveTo(x, y))?;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]     = note: this warning originates in the macro `write_ansi_code` which comes from the expansion of the macro `execute` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> tetris/src/main.rs:271:10
[INFO] [stdout]     |
[INFO] [stdout] 271 |     let _ = execute!(stdout(), Clear(ClearType::All));
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `write_ansi_code` which comes from the expansion of the macro `execute` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> tetris/src/main.rs:285:2
[INFO] [stdout]     |
[INFO] [stdout] 285 |     execute!(stdout, EnableMouseCapture)?;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `write_ansi_code` which comes from the expansion of the macro `execute` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> tetris/src/main.rs:291:2
[INFO] [stdout]     |
[INFO] [stdout] 291 |     execute!(stdout, DisableMouseCapture)?;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `write_ansi_code` which comes from the expansion of the macro `execute` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `guard`
[INFO] [stdout]    --> tetris/src/main.rs:211:10
[INFO] [stdout]     |
[INFO] [stdout] 211 |                     let guard = lock_clone.lock().unwrap();
[INFO] [stdout]     |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_guard`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `guard`
[INFO] [stdout]    --> tetris/src/main.rs:124:7
[INFO] [stdout]     |
[INFO] [stdout] 124 |         let guard = lock_clone.lock().unwrap();
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_guard`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Coordinate` is never constructed
[INFO] [stdout]  --> tetris/src/model/coordinate.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Coordinate {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `White` is never constructed
[INFO] [stdout]  --> tetris/src/enumerate/color.rs:5:2
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub enum Color {
[INFO] [stdout]   |          ----- variant in this enum
[INFO] [stdout] 4 |     Red = 1,
[INFO] [stdout] 5 |     White = 2,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Color` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test` is never used
[INFO] [stdout]  --> tetris/src/test/mod.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn test() {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> tetris/src/main.rs:93:12
[INFO] [stdout]    |
[INFO] [stdout] 93 |         canvas = CURR_PIECE.canvas.as_ref().unwrap();
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> tetris/src/main.rs:155:40
[INFO] [stdout]     |
[INFO] [stdout] 155 |                 let string = format!("{}{}", "\r", CURR_PIECE.y);
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tetris/src/main.rs:164:5
[INFO] [stdout]     |
[INFO] [stdout] 164 |                 CURR_PIECE.rotate();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tetris/src/main.rs:173:5
[INFO] [stdout]     |
[INFO] [stdout] 173 |                 CURR_PIECE.horizontal_move(false);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tetris/src/main.rs:182:5
[INFO] [stdout]     |
[INFO] [stdout] 182 |                 CURR_PIECE.dropdown();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tetris/src/main.rs:191:5
[INFO] [stdout]     |
[INFO] [stdout] 191 |                 CURR_PIECE.horizontal_move(true);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tetris/src/main.rs:221:7
[INFO] [stdout]     |
[INFO] [stdout] 221 |                         CURR_PIECE.dropdown();
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `guard`
[INFO] [stdout]    --> tetris/src/main.rs:211:10
[INFO] [stdout]     |
[INFO] [stdout] 211 |                     let guard = lock_clone.lock().unwrap();
[INFO] [stdout]     |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_guard`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `guard`
[INFO] [stdout]    --> tetris/src/main.rs:124:7
[INFO] [stdout]     |
[INFO] [stdout] 124 |         let guard = lock_clone.lock().unwrap();
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_guard`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Coordinate` is never constructed
[INFO] [stdout]  --> tetris/src/model/coordinate.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Coordinate {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `White` is never constructed
[INFO] [stdout]  --> tetris/src/enumerate/color.rs:5:2
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub enum Color {
[INFO] [stdout]   |          ----- variant in this enum
[INFO] [stdout] 4 |     Red = 1,
[INFO] [stdout] 5 |     White = 2,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Color` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test` is never used
[INFO] [stdout]  --> tetris/src/test/mod.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn test() {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> tetris/src/main.rs:93:12
[INFO] [stdout]    |
[INFO] [stdout] 93 |         canvas = CURR_PIECE.canvas.as_ref().unwrap();
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> tetris/src/main.rs:155:40
[INFO] [stdout]     |
[INFO] [stdout] 155 |                 let string = format!("{}{}", "\r", CURR_PIECE.y);
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tetris/src/main.rs:164:5
[INFO] [stdout]     |
[INFO] [stdout] 164 |                 CURR_PIECE.rotate();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tetris/src/main.rs:173:5
[INFO] [stdout]     |
[INFO] [stdout] 173 |                 CURR_PIECE.horizontal_move(false);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tetris/src/main.rs:182:5
[INFO] [stdout]     |
[INFO] [stdout] 182 |                 CURR_PIECE.dropdown();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tetris/src/main.rs:191:5
[INFO] [stdout]     |
[INFO] [stdout] 191 |                 CURR_PIECE.horizontal_move(true);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tetris/src/main.rs:221:7
[INFO] [stdout]     |
[INFO] [stdout] 221 |                         CURR_PIECE.dropdown();
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.47s
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating tetris/Cargo.toml from 2018 edition to 2021
[INFO] [stderr]    Migrating tetris-common/Cargo.toml from 2018 edition to 2021
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]     Checking tetris-common v0.1.0 (/opt/rustwide/workdir/tetris-common)
[INFO] [stderr]     Checking tetris v0.1.0 (/opt/rustwide/workdir/tetris)
[INFO] [stderr]    Migrating tetris/src/main.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> tetris/src/main.rs:93:12
[INFO] [stdout]    |
[INFO] [stdout] 93 |         canvas = CURR_PIECE.canvas.as_ref().unwrap();
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> tetris/src/main.rs:155:40
[INFO] [stdout]     |
[INFO] [stdout] 155 |                 let string = format!("{}{}", "\r", CURR_PIECE.y);
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tetris/src/main.rs:164:5
[INFO] [stdout]     |
[INFO] [stdout] 164 |                 CURR_PIECE.rotate();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tetris/src/main.rs:173:5
[INFO] [stdout]     |
[INFO] [stdout] 173 |                 CURR_PIECE.horizontal_move(false);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tetris/src/main.rs:182:5
[INFO] [stdout]     |
[INFO] [stdout] 182 |                 CURR_PIECE.dropdown();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tetris/src/main.rs:191:5
[INFO] [stdout]     |
[INFO] [stdout] 191 |                 CURR_PIECE.horizontal_move(true);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tetris/src/main.rs:221:7
[INFO] [stdout]     |
[INFO] [stdout] 221 |                         CURR_PIECE.dropdown();
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> tetris/src/main.rs:93:12
[INFO] [stdout]    |
[INFO] [stdout] 93 |         canvas = CURR_PIECE.canvas.as_ref().unwrap();
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating tetris-common/src/lib.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> tetris/src/main.rs:155:40
[INFO] [stdout]     |
[INFO] [stdout] 155 |                 let string = format!("{}{}", "\r", CURR_PIECE.y);
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tetris/src/main.rs:164:5
[INFO] [stdout]     |
[INFO] [stdout] 164 |                 CURR_PIECE.rotate();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tetris/src/main.rs:173:5
[INFO] [stdout]     |
[INFO] [stdout] 173 |                 CURR_PIECE.horizontal_move(false);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tetris/src/main.rs:182:5
[INFO] [stdout]     |
[INFO] [stdout] 182 |                 CURR_PIECE.dropdown();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tetris/src/main.rs:191:5
[INFO] [stdout]     |
[INFO] [stdout] 191 |                 CURR_PIECE.horizontal_move(true);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tetris/src/main.rs:221:7
[INFO] [stdout]     |
[INFO] [stdout] 221 |                         CURR_PIECE.dropdown();
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.04s
[INFO] [stderr] crater-edition-check: tetris v0.1.0 (/opt/rustwide/workdir/tetris) updating edition from 2021 to 2024
[INFO] [stderr] crater-edition-check: tetris-common v0.1.0 (/opt/rustwide/workdir/tetris-common) updating edition from 2021 to 2024
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2024 which implies `resolver = "3"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2024 resolver, specify `workspace.resolver = "3"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]     Checking tetris-common v0.1.0 (/opt/rustwide/workdir/tetris-common)
[INFO] [stderr]     Checking tetris v0.1.0 (/opt/rustwide/workdir/tetris)
[INFO] [stdout] warning: unused import: `super::CanvasPiece`
[INFO] [stdout]  --> tetris/src/model/canvas.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use super::CanvasPiece;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Coordinate`
[INFO] [stdout]  --> tetris/src/model/canvas_piece.rs:3:51
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::model::{Canvas, CanvasPixel, ShowSelf, Coordinate};
[INFO] [stdout]   |                                                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::Thread`
[INFO] [stdout]   --> tetris/src/main.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | use std::thread::Thread;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]   --> tetris/src/main.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | use std::thread;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> tetris/src/main.rs:262:2
[INFO] [stdout]     |
[INFO] [stdout] 262 |     execute!(stdout(), MoveTo(x, y))?;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]     = note: this warning originates in the macro `write_ansi_code` which comes from the expansion of the macro `execute` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> tetris/src/main.rs:271:10
[INFO] [stdout]     |
[INFO] [stdout] 271 |     let _ = execute!(stdout(), Clear(ClearType::All));
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `write_ansi_code` which comes from the expansion of the macro `execute` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> tetris/src/main.rs:285:2
[INFO] [stdout]     |
[INFO] [stdout] 285 |     execute!(stdout, EnableMouseCapture)?;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `write_ansi_code` which comes from the expansion of the macro `execute` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> tetris/src/main.rs:291:2
[INFO] [stdout]     |
[INFO] [stdout] 291 |     execute!(stdout, DisableMouseCapture)?;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `write_ansi_code` which comes from the expansion of the macro `execute` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::CanvasPiece`
[INFO] [stdout]  --> tetris/src/model/canvas.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use super::CanvasPiece;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Coordinate`
[INFO] [stdout]  --> tetris/src/model/canvas_piece.rs:3:51
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::model::{Canvas, CanvasPixel, ShowSelf, Coordinate};
[INFO] [stdout]   |                                                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::Thread`
[INFO] [stdout]   --> tetris/src/main.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | use std::thread::Thread;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]   --> tetris/src/main.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | use std::thread;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `guard`
[INFO] [stdout]    --> tetris/src/main.rs:211:10
[INFO] [stdout]     |
[INFO] [stdout] 211 |                     let guard = lock_clone.lock().unwrap();
[INFO] [stdout]     |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_guard`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `guard`
[INFO] [stdout]    --> tetris/src/main.rs:124:7
[INFO] [stdout]     |
[INFO] [stdout] 124 |         let guard = lock_clone.lock().unwrap();
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_guard`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Coordinate` is never constructed
[INFO] [stdout]  --> tetris/src/model/coordinate.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Coordinate {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `White` is never constructed
[INFO] [stdout]  --> tetris/src/enumerate/color.rs:5:2
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub enum Color {
[INFO] [stdout]   |          ----- variant in this enum
[INFO] [stdout] 4 |     Red = 1,
[INFO] [stdout] 5 |     White = 2,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Color` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test` is never used
[INFO] [stdout]  --> tetris/src/test/mod.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn test() {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> tetris/src/main.rs:93:12
[INFO] [stdout]    |
[INFO] [stdout] 93 |         canvas = CURR_PIECE.canvas.as_ref().unwrap();
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> tetris/src/main.rs:155:40
[INFO] [stdout]     |
[INFO] [stdout] 155 |                 let string = format!("{}{}", "\r", CURR_PIECE.y);
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> tetris/src/main.rs:164:5
[INFO] [stdout]     |
[INFO] [stdout] 164 |                 CURR_PIECE.rotate();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> tetris/src/main.rs:173:5
[INFO] [stdout]     |
[INFO] [stdout] 173 |                 CURR_PIECE.horizontal_move(false);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> tetris/src/main.rs:182:5
[INFO] [stdout]     |
[INFO] [stdout] 182 |                 CURR_PIECE.dropdown();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> tetris/src/main.rs:191:5
[INFO] [stdout]     |
[INFO] [stdout] 191 |                 CURR_PIECE.horizontal_move(true);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> tetris/src/main.rs:221:7
[INFO] [stdout]     |
[INFO] [stdout] 221 |                         CURR_PIECE.dropdown();
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tetris` (bin "tetris") due to 7 previous errors; 13 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> tetris/src/main.rs:262:2
[INFO] [stdout]     |
[INFO] [stdout] 262 |     execute!(stdout(), MoveTo(x, y))?;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]     = note: this warning originates in the macro `write_ansi_code` which comes from the expansion of the macro `execute` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> tetris/src/main.rs:271:10
[INFO] [stdout]     |
[INFO] [stdout] 271 |     let _ = execute!(stdout(), Clear(ClearType::All));
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `write_ansi_code` which comes from the expansion of the macro `execute` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> tetris/src/main.rs:285:2
[INFO] [stdout]     |
[INFO] [stdout] 285 |     execute!(stdout, EnableMouseCapture)?;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `write_ansi_code` which comes from the expansion of the macro `execute` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> tetris/src/main.rs:291:2
[INFO] [stdout]     |
[INFO] [stdout] 291 |     execute!(stdout, DisableMouseCapture)?;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `write_ansi_code` which comes from the expansion of the macro `execute` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `guard`
[INFO] [stdout]    --> tetris/src/main.rs:211:10
[INFO] [stdout]     |
[INFO] [stdout] 211 |                     let guard = lock_clone.lock().unwrap();
[INFO] [stdout]     |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_guard`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `guard`
[INFO] [stdout]    --> tetris/src/main.rs:124:7
[INFO] [stdout]     |
[INFO] [stdout] 124 |         let guard = lock_clone.lock().unwrap();
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_guard`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Coordinate` is never constructed
[INFO] [stdout]  --> tetris/src/model/coordinate.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Coordinate {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `White` is never constructed
[INFO] [stdout]  --> tetris/src/enumerate/color.rs:5:2
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub enum Color {
[INFO] [stdout]   |          ----- variant in this enum
[INFO] [stdout] 4 |     Red = 1,
[INFO] [stdout] 5 |     White = 2,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Color` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test` is never used
[INFO] [stdout]  --> tetris/src/test/mod.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn test() {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> tetris/src/main.rs:93:12
[INFO] [stdout]    |
[INFO] [stdout] 93 |         canvas = CURR_PIECE.canvas.as_ref().unwrap();
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> tetris/src/main.rs:155:40
[INFO] [stdout]     |
[INFO] [stdout] 155 |                 let string = format!("{}{}", "\r", CURR_PIECE.y);
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> tetris/src/main.rs:164:5
[INFO] [stdout]     |
[INFO] [stdout] 164 |                 CURR_PIECE.rotate();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> tetris/src/main.rs:173:5
[INFO] [stdout]     |
[INFO] [stdout] 173 |                 CURR_PIECE.horizontal_move(false);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> tetris/src/main.rs:182:5
[INFO] [stdout]     |
[INFO] [stdout] 182 |                 CURR_PIECE.dropdown();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> tetris/src/main.rs:191:5
[INFO] [stdout]     |
[INFO] [stdout] 191 |                 CURR_PIECE.horizontal_move(true);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> tetris/src/main.rs:221:7
[INFO] [stdout]     |
[INFO] [stdout] 221 |                         CURR_PIECE.dropdown();
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tetris` (bin "tetris" test) due to 7 previous errors; 13 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "80dd2281851a5e11b9a157df1886d01f6a4e5523ab1fa5c840998405d459d759", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "80dd2281851a5e11b9a157df1886d01f6a4e5523ab1fa5c840998405d459d759", kill_on_drop: false }`
[INFO] [stdout] 80dd2281851a5e11b9a157df1886d01f6a4e5523ab1fa5c840998405d459d759
